/**
 * 
 */
package com.openingedu.mba.common;

import com.openingedu.mba.R;


/**
 * 
 * @author cfuture.chenyoca [桥下一粒砂] (chenyoca@163.com)
 * @date 2012-2-24
 */
public final class AppSetting {
	public static boolean UMIPAY_INITIALIZED = false;
	public final static String APP_TAG = "MbaExams";
	public final static String TOPIC_INDEX = "第%d题,共%d题";
	public final static String MENU_VALUE = "VALUE";
	public final static String MENU_TITLE = "TITLE";
	public final static String MENU_TARGETNAME = "TARGETNAME";

	public final static String TOPIC_BACK_TIP = "您当前正在考试，确定返回目录界面吗？";
	public final static long[] VIRATOR_PARAMS = new long[] { 10, 50 };
	public static final String PRACTICE_WAY = "PRACTICE_WAY";

	public final static class AnswerIcons {

		/**
		 * 单选
		 * 
		 * @author cfuture.chenyoca [桥下一粒砂] (chenyoca@163.com)
		 * @date 2012-3-6
		 */
		public final static class SingleChoice {
			public final static int[] PRESSED = new int[] {
					R.drawable.answer_a_single_normal,
					R.drawable.answer_b_single_normal,
					R.drawable.answer_c_single_normal,
					R.drawable.answer_d_single_normal,
					R.drawable.answer_e_single_normal,
					R.drawable.answer_f_single_normal,
					R.drawable.answer_g_single_normal };

			public final static int[] NORMAL_ARRAY = new int[] {
					R.drawable.answer_single_selected,
					R.drawable.answer_single_selected,
					R.drawable.answer_single_selected,
					R.drawable.answer_single_selected,
					R.drawable.answer_single_selected,
					R.drawable.answer_single_selected,
					R.drawable.answer_single_selected };
		}

		/**
		 * 多选
		 * 
		 * @author cfuture.chenyoca [桥下一粒砂] (chenyoca@163.com)
		 * @date 2012-3-6
		 */
		public final static class MultipleChoice {
			public final static int[] PRESSED = new int[] {
					R.drawable.answer_a, R.drawable.answer_b,
					R.drawable.answer_c, R.drawable.answer_d,
					R.drawable.answer_e, R.drawable.answer_f,
					R.drawable.answer_g };

			public final static int[] NORMAL_ARRAY = new int[] {
					R.drawable.answer_multiple_select,
					R.drawable.answer_multiple_select,
					R.drawable.answer_multiple_select,
					R.drawable.answer_multiple_select,
					R.drawable.answer_multiple_select,
					R.drawable.answer_multiple_select,
					R.drawable.answer_multiple_select };
		}

		/**
		 * 判断题
		 * 
		 * @author cfuture.chenyoca [桥下一粒砂] (chenyoca@163.com)
		 * @date 2012-3-6
		 */
		public final static class Judge {
			public final static int[] NORMAL_ARRAY = new int[] {
					R.drawable.answer_judge_true_normal,
					R.drawable.answer_judge_false_normal };

			public final static int[] PRESSED_ARRAY = new int[] {
					R.drawable.answer_judge_true_selected,
					R.drawable.answer_judge_false_selected };
		}

	}

	/**
	 * 练习评价
	 * @author 
	 *
	 */
	public static class Valuation {
		// 没评价
		public final static int NONE = -3;
		// 极差的
		public final static int POOR = -2;
		// 差的
		public final static int BAD = -1;
		// 及格的
		public final static int PASSING = 0;
		// 优秀的
		public final static int GOOD = 1;
		// 完美的
		public final static int PERFECT = 2;
	}
}
